﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MP/Base.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WilsonWebsite.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head_Title" runat="server"><%=dic["Title"] %></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Head_Meta" runat="server">
    <meta http-equiv="keywords" content="<%=dic["Keywords"] %>" />
    <meta name="description" content="<%=dic["Discription"] %>" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Head_Css" runat="server">
    <link href="CSS/Comm.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Head_Script" runat="server">

    <script src="Scripts/Class.NoobSlide.js" type="text/javascript"></script>
    <script type="text/javascript">
		window.addEvent('domready',function(){
			var nS1 = new NoobSlide({
				box: $('CommList'),
				items: $$('#CommList li'),
				size: 800,
				autoPlay: true,
				interval: 6000,
				handles: $$('.CommCtrlItem'),
				addButtons: {
					previous: $('CommCtrlPrev'),
					next: $('CommCtrlNext')
				},
				onWalk: function(currentItem, currentHandle){
					this.handles.removeClass('CommCtrlItemSel');
					currentHandle.addClass('CommCtrlItemSel');
				}
			});
			
			var nS2 = new NoobSlide({
				box: $('NewsItem'),
				items: $$('#NewsItem li'),
				size: 32,
				mode: 'vertical',
				autoPlay: true,
				interval: 3000
			});
		});
	</script>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Body_Top" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="Body_Content" runat="server">
    <div class="Focus">
	<div class="CommGroup">
		<ul id="CommList">
			<asp:Repeater ID="repCommList" runat="server" EnableViewState>
			    <ItemTemplate>
			        <li><a href="ProDetail-<%#Eval("ProID") %>.html"><img alt="<%#Eval("ProName") %>" src="<%#Eval("MainImgURL") %>" /></a></li>
			    </ItemTemplate>
			</asp:Repeater>
		</ul>
	</div>
	<div class="CommCtrl" id="CommCtrl">
		<a href="javascript:void(0);" id="CommCtrlPrev" class="CommCtrlArc"><span></span></a>
		<div>
			<asp:Repeater ID="repCommCtrl" runat="server" EnableViewState="false">
			    <ItemTemplate>
			        <%#Eval("Item") %>
			    </ItemTemplate>
			</asp:Repeater>
		</div>
		<a href="javascript:void(0);" id="CommCtrlNext" class="CommCtrlArc"><span></span></a>
	</div>
</div>
<div class="News">
	<div class="NewsTitle">热点新闻！</div>
	<div class="NewsContent">
		<ul id="NewsItem">
			<asp:Repeater ID="repHotNews" runat="server" EnableViewState="false">
			    <ItemTemplate>
			        <li><a href="/NewsDetail-<%#Eval("PKID") %>.html">[ <%#Eval("NewsType") %> ]&nbsp;<%#Eval("NewsTitle") %>&mdash;&mdash;<%#Eval("Keywords") %></a></li>        
			    </ItemTemplate>
			</asp:Repeater>
		</ul>
	</div>
	<a href="/News.aspx" class="NewsMore">更多</a>
</div>
<asp:Repeater ID="repAd" runat="server" onitemdatabound="repAd_ItemDataBound">
    <ItemTemplate>
        <div class="Site" id="site_<%#Eval("ID") %>">
            <asp:Repeater ID="repCnIn" runat="server">
                <ItemTemplate>
                    <div class="CbIn">
		                <a href="<%#Eval("LinkURL") %>"><img src="<%#Eval("ImgURL") %>" alt="<%#Eval("AdTitle") %>" /></a>
	                </div>   
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </ItemTemplate>
</asp:Repeater>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Body_Foot" runat="server">
</asp:Content>
